package com.authine.cloudpivot.ext.domain;

import lombok.Getter;
import lombok.Setter;
import tk.mybatis.mapper.annotation.NameStyle;
import tk.mybatis.mapper.code.Style;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author
 * @date
 */

@NameStyle(Style.normal)
@Getter
@Setter
@Table(name = "h_org_department")
public class OrgDepartment {

    private String id;
    @Column(name = "createdTime")
    private Date createdTime;

    private String creater;

    private Boolean deleted;

    private String extend1;

    private String extend2;

    private String extend3;

    private Integer extend4;

    private Integer extend5;

    @Column(name = "modifiedTime")
    private Date modifiedTime;

    private String modifier;

    private String remarks;

    @Column(name = "calendarId")
    private String calendarId;

    private Integer employees;

    private Boolean leaf;

    @Column(name = "managerId")
    private String managerId;

    private String name;

    @Column(name = "parentId")
    private String parentId;

    @Column(name = "sortKey")
    private Long sortKey;

    @Column(name = "sourceId")
    private String sourceId;

    @Column(name = "queryCode")
    private String queryCode;

    @Column(name = "dingDeptManagerId")
    private String dingDeptManagerId;

    @Column(name = "isShow")
    private Boolean isShow;

    @Column(name = "deptType")
    private String deptType;

    @Column(name = "corpId")
    private String corpId;

    private Boolean enabled;
}
